import request from "@/utils/request";

// 更新信息
export function put(data) {
  return request({
    url: "/customer/grade",
    method: "put",
    data: data
  });
}
// 创建信息
export function add(data) {
  return request({
    url: "/customer/grade",
    method: "post",
    data: data
  });
}
// 删除信息
export function del(id) {
  return request({
    url: "/customer/grade/" + id,
    method: "delete"
  });
}
// 获取列表
export function list(data) {
  return request({
    url: "/customer/grade/list",
    method: "get",
    params: data
  });
}
// 获取列表
export function listN(data) {
  return request({
    url: "/trade/customer/grade/list",
    method: "get",
    params: data
  });
}

